package com.molichuxing.services.infrastructure.service;

import com.molichuxing.framework.service.RootService;
import com.molichuxing.services.infrastructure.dto.request.create.DrivingLicenseRecognitionCreateDto;
import com.molichuxing.services.infrastructure.dto.response.DrivingLicenseRecognitionDto;

/**
 * 
 * @author liyg
 * 驾驶证验证服务
 * 2019-08-15
 * 
 */
public interface DrivingLicenseRecognitionService extends RootService {

	/**
	 * 获取最近驾驶证验证是否通过  true：通过    false：不通过
	 * @param userId
	 * @return
	 */
	DrivingLicenseRecognitionDto getVerifyResult(Integer userId);
	
	/**
	 * 保存
	 * @param createDto
	 * @return
	 */
	Boolean create(DrivingLicenseRecognitionCreateDto createDto);
}
